The NONE mode is hidden from gnome-control-center, but if you force it
then it should also update the cursor and crosshairs when the pointer
moves.
Suggested by: Matthew Hiltner
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4290>
(cherry picked from commit
7cc0a83aaecedb7f6e5c9932a198c8d6999b8a5b)
*/
scrollToMousePos() {
this._followingCursor = true;
- if (this._mouseTrackingMode !== GDesktopEnums.MagnifierMouseTrackingMode.NONE)
+ if (this._mouseTrackingMode !== GDesktopEnums.MagnifierMouseTrackingMode.NONE) {
this._changeROI({redoCursorTracking: true});
- else
+ } else {
+ this._updateCloneGeometry();
this._updateMousePosition();
+ }
this._clearScrollContentsTimer();
this._scrollContentsTimerId = GLib.timeout_add_once(GLib.PRIORITY_DEFAULT, POINTER_REST_TIME, () => {